﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class ANTENNA_CHILDTABLE_Map : ClassMap<ANTENNA_CHILDTABLE>
    {
        public ANTENNA_CHILDTABLE_Map()
        {
            Table("ANTENNA_CHILDTABLE");
            Id(x => x.ANTEID)
                .Length(36);

            Map(x => x.ANTENNAFACTORFILENAME).Nullable().Length(100);
            Map(x => x.FEEDERLOSSFILENAME).Nullable().Length(100);
            Map(x => x.ANTENNAFACTORFILE).Nullable().LazyLoad();
            Map(x => x.FEEDERLOSSFILE).Nullable().LazyLoad();
            DoEditableMappings();
        }
    }
}
